#include <stdio.h>

int main()
{
    int num1 = 100;
    int num2 = 30;

    /*运算符加法*/
    int sum = num1 + num2;
    printf("sum:%d\n",sum);

    /*运算符减法*/
    int minus = num1 - num2;
    printf("minus:%d\n",minus);

    /*运算乘法*/
    int mulpti = num1 * num2;
    printf("mulpti:%d\n",mulpti);

    /*运算符除法*/
    int division = num1 / num2;
    printf("division:%d\n",division);

    /*运算符取余（取模）*/
    int remainder = num1 % num2;
    printf("remainder:%d\n",remainder);

    /**/
    num1 = num1 + 1;
    printf("num1:%d\n",num1);

    /*num1 = num1 + 1*/
    num1 += 1;
    printf("num1:%d\n",num1);

    num1++;
    printf("num1:%d\n",num1);

    /*运算符 -= 和 --*/
    num2 = num2 - 10;
    printf("num2:%d\n",num2);

    num2 -= 10;
    printf("num2:%d\n",num2);

    num2--;
    printf("num2:%d\n",num2);


}